

<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>Hello MUI</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,   user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
	
          <!-- https://github.com/dcloudio/mui/blob/master/examples/hello-mui/examples/tabbar.html -->
	

          
		<!--App自定义的css-->
		<!-- <link rel="stylesheet" type="text/css" href="../css/app.css"/> -->


	<!--标准mui.css-->
        <!-- 第一步引入mui css -->
        <link rel="stylesheet" href="./assets/mui/css/mui.min.css">
		<link rel="stylesheet" href="./assets/mui/css/icons-extra.css">
      <link rel="stylesheet" href="./assets/mui/fonts/mui-icons-extra.ttf">
        <link rel="stylesheet" href="./common.css">

		

		<style>
			.mui-row.mui-fullscreen>[class*="mui-col-"] {
				height: 100%;
			}
			.mui-col-xs-3,
			.mui-control-content {
				overflow-y: auto;
				height: 100%;
			}
			.mui-segmented-control .mui-control-item {
				line-height: 50px;
				width: 100%;
			}
			.mui-segmented-control.mui-segmented-control-inverted .mui-control-item.mui-active {
				background-color: #fff;
			}
		
		</style>
	</head>

	<body>
		<header class="mui-bar mui-bar-nav">
            <a class="mui-action-search mui-icon mui-icon-back  mui-pull-left"></a>
			<a class="mui-action-search mui-icon mui-icon-search  mui-pull-right"   href="search.html"></a>
			<h1 class="mui-title">乐淘云购分页面</h1>
		</header>
		<nav class="mui-bar mui-bar-tab">
			<a class="mui-tab-item mui-active" href="index.html">
				<span class="mui-icon mui-icon-home"></span>
				<span class="mui-tab-label">首页</span>
			</a>
			<a class="mui-tab-item" href="category.html">
				<span class="mui-icon mui-icon-email"></span>
				<span class="mui-tab-label">分类</span>
			</a>
			<a class="mui-tab-item" href="cart.html">
				<span class="mui-icon mui-icon-extra mui-icon-extra-cart"> <span class="mui-badge">9</span></span>
				<span class="mui-tab-label">购物车</span>
			</a>
			<a class="mui-tab-item" href="user.html">
				<span class="mui-icon mui-icon-gear"></span>
				<span class="mui-tab-label">我的</span>
			</a>
		</nav>
	


        <div class="mui-content mui-row mui-fullscreen">
            <!-- 左侧 -->
			<div class="mui-col-xs-3  leftBox">
				
                    <!-- <a class="mui-control-item" href="#content' + i + '">选项1</a> -->
                         
               
			</div>
            <!-- 右侧 -->
			<div id="segmentedControlContents" class="mui-col-xs-9  rightBox" style="border-left: 1px solid #c8c7cc;">
			
                <!-- <div id="item2" class="mui-control-content ">
                    <ul  class="mui-table-view">
                        <li class="mui-table-view-cell">第 2-1个选项卡子项</li>
                        <li class="mui-table-view-cell">第2-2个选项卡子项</li>
                         
                    </ul> 
				</div>
				 -->
			</div>
		</div>
	</body>

<!-- 模块引擎的高亮设置 -->
	<!-- class="mui-control-item  {{$index==1 ? 'mui-active' :''}}" -->

	<!-- 左侧模块定义 -->
<script  type='text/html' id='leftTmp'>
	<div id="segmentedControls" class="       mui-segmented-control mui-segmented-control-inverted mui-segmented-control-vertical">

	{{each rows}}

	
	<a class="mui-control-item"  href="#"   cateId='{{$value.id}}'        >{{$value.categoryName}}</a>

	

	{{/each}}
</div>
</script>


	<!-- 右侧模块定义 -->
	<!-- brandLogo: "/mobile/images/brand1.png"
brandName: "耐克"
categoryId: 1
hot: 1
id: 1
isDelete: 1 -->
<script  type='text/html' id='rightTmp'>

	<div id="item1" class="mui-control-content mui-active">

		<ul  class="mui-table-view">
			{{each rows}}
			<li class="mui-table-view-cell rightName ">
			<a href="#">
				<img src="{{$value.brandLogo}}" alt="">
				<span>{{$value.brandName}}</span>
			</a>
			</li>
			

			{{/each}}
		</ul> 
	</div>

	

	
	
	


</script>



<!-- 引入自己写的css -->
<link rel="stylesheet" href="./css/category.css">


	<script src="./assets/mui/js/mui.min.js"></script>

	<!-- 移动端的jq   -->
	<script src="./assets/zepto/zepto.min.js"></script>
	<!-- 模块引擎 -->
	<script src="./assets/artTemplate/template-web.js"></script>
	<script src="./common.js"></script>

	<!-- 自己写的category.js 需要引入 要在 zepto js 后面引入 -->
	<script src="./js/category.js"></script>
	<!-- <script src="./js/category copy.js"></script> -->





	
